home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / attachcursor.z / attachcursor
Encoding:
Text File  |  2002-10-03  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. aaaattttttttaaaacccchhhhccccuuuurrrrssssoooorrrr((((3333GGGG))))                                              aaaattttttttaaaacccchhhhccccuuuurrrrssssoooorrrr((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      aaaattttttttaaaacccchhhhccccuuuurrrrssssoooorrrr - attaches the cursor to two valuators
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd aaaattttttttaaaacccchhhhccccuuuurrrrssssoooorrrr((((DDDDeeeevvvviiiicccceeee vvvvxxxx,,,, DDDDeeeevvvviiiicccceeee vvvvyyyy))))
  13.  
  14. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  15.      _v_x   expects the valuator device number for the device that controls the
  16.           horizontal location of the cursor. By default, _v_x is MOUSEX.
  17.  
  18.      _v_y   expects the valuator device number for the device that controls the
  19.           vertical location of the cursor. By default, _v_y is MOUSEY.
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      aaaattttttttaaaacccchhhhccccuuuurrrrssssoooorrrr attaches the cursor to the movement of two valuators.  Both
  23.      _v_x and _v_y are valuator device numbers.  (See Appendix A, Valuators, for a
  24.      list of device numbers.)  The values at _v_x and _v_y determine the cursor
  25.      position in screen coordinates.  Every time the values at _v_x or _v_y
  26.      change, the system redraws the cursor at the new coordinates.
  27.  
  28. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  29.      noise, tie
  30.  
  31. NNNNOOOOTTTTEEEE
  32.      This routine is available only in immediate mode.
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.